-- GENERATED SPELL FOR [Aberrant Owlbeast] --


function spell0_17187(pUnit, Event) --@Moonfire,n/a--
pUnit:FullCastSpellOnTarget(31270,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17187', 672, 1)
end

function Sorts_17187(pUnit, Event)
local choix_sorts_17187 = math.random(0, 0)
if choix_sorts_17187 == 0 then
pUnit:RegisterEvent('spell0_17187', 1, 1)
end
end

function mob17187_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17187', math.random(1500, 3000), 1)
end

function mob17187_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17187_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17187_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17187, 1, 'mob17187_Action')
RegisterUnitEvent(17187, 2, 'mob17187_Leave')
RegisterUnitEvent(17187, 3, 'mob17187_Kill')
RegisterUnitEvent(17187, 4, 'mob17187_Die')
